package com.wang.loanassembly.controller;


import com.wang.commons.result.Result;
import com.wang.loanassembly.param.collectionThirdParty.AddcollectionPartyParam;
import com.wang.loanassembly.param.collectionThirdParty.ChangeThirdPartyParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lichacha
 * @since 2022-01-04
 */
@Controller
@RequestMapping("/collectionThirdParty")
@Api(tags = "追债公司和平台对接的接口")
public class CollectionThirdPartyController {

    /***
     * 新增对接记录
     */
    @ApiOperation("新增放款渠道商对接记录接口")
    @PostMapping("addRecord")
    public Result addRecord(@RequestBody AddcollectionPartyParam  acp){

        return null;
    }
    /**
     * 修改对接记录,
     *返回修改成功或者失败
     *
     */
    @ApiOperation("修改对接记录")
    @PostMapping("changeRecord")
    public Result changeRecord(@RequestBody ChangeThirdPartyParam ctp ){
        return null;
    }


}

